<html>
<head><meta charset="utf-8"><title>Need help with LLVM_Codegen · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Need.20help.20with.20LLVM_Codegen.html">Need help with LLVM_Codegen</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="229991506"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Need%20help%20with%20LLVM_Codegen/near/229991506" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> M4tr1xt4ng <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Need.20help.20with.20LLVM_Codegen.html#229991506">(Mar 12 2021 at 08:16)</a>:</h4>
<p>I have read <a href="https://rustc-dev-guide.rust-lang.org/backend/backend-agnostic.html">this</a> on rustc-dev-guide, but I'm still confused about how rustc generates LLVM IR for each targets. Any other materials or blogs I can learn from？</p>



<a name="230000592"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Need%20help%20with%20LLVM_Codegen/near/230000592" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Need.20help.20with.20LLVM_Codegen.html#230000592">(Mar 12 2021 at 09:41)</a>:</h4>
<p><a href="https://davidtw.co/media/masters_dissertation.pdf">https://davidtw.co/media/masters_dissertation.pdf</a> <span class="user-mention" data-user-id="116107">@davidtwco</span> 's master paper mentioned some parts of codegen, should be helpful.<br>
The codegen/llvm chapter is not that Informative</p>



<a name="230014436"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Need%20help%20with%20LLVM_Codegen/near/230014436" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> M4tr1xt4ng <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Need.20help.20with.20LLVM_Codegen.html#230014436">(Mar 12 2021 at 11:35)</a>:</h4>
<p>Thanks lot.</p>



<a name="230037993"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Need%20help%20with%20LLVM_Codegen/near/230037993" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Need.20help.20with.20LLVM_Codegen.html#230037993">(Mar 12 2021 at 14:32)</a>:</h4>
<p><span class="user-mention" data-user-id="116773">@csmoe</span> do you mind adding a link to that paper to the dev guide? :)</p>



<a name="230172918"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Need%20help%20with%20LLVM_Codegen/near/230172918" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> csmoe <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Need.20help.20with.20LLVM_Codegen.html#230172918">(Mar 13 2021 at 16:17)</a>:</h4>
<p><span class="user-mention" data-user-id="232545">@Joshua Nelson</span> the paper link is already embedded in the end of <a href="https://rustc-dev-guide.rust-lang.org/backend/monomorph.html#polymorphization">ploymorphization</a> <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>